<!DOCTYPE html>
<html lang="zh-cn">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  <title>报价详情</title>


  <!-- Expand styles -->
  <link href="../css/app/app.css" rel="stylesheet">
  <link href="../css/app/default.css" rel="stylesheet">
  <link href="../css/mui/mui.css" rel="stylesheet">
  <link href="../css/mui/mui.picker.min.css" rel="stylesheet" />


  <!-- Custom styles for this template -->
  <!-- <link href="../css/iOS/mobile/mobile.css" rel="stylesheet"> -->
</head>

<body>

  <!-- header -->
  <div class="mobile-content5">
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>机构名称</span>
      <span id="userName"> </span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>机构地址</span>
      <span id="addressDetail"></span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>培训老师</span>
      <span id="teacher"></span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>培训费用</span>
      <span id="price"></span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>报价人员</span>
      <span id="persion"> </span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>联系电话</span>
      <span id="phone"></span>
    </div>
    <div class="display-flex justify-content-between align-items-center details-box">
      <span>报价备注</span>
      <span id="details"></span>
    </div>

  </div>

 
  <script src="../js/dsbridge.js"></script>
  <script src="../js/jquery.js"></script>
  <script src="../js/mui/mui.js"></script>
  <script src="../js/mui/mui.picker.min.js"></script>
  <script src="../js/layer.js"></script>
  <script src="../js/app/app-base.js"></script>
  <script src="../js/app/app-url.js"></script>
  <script src="../js/app/app-ajax.js"></script>
  <script>
    var id =  localStorage.getItem("view-quote-id"); 
    $(document).ready(function () {

      var data = {
        id: id
      }
      getServerData(url_getTrainOrganizationDetails, data);
    })



    function getServerDataSuccess(url, data) {

      var dataInfo = data.data;
      $("#userName").html(dataInfo.company.userName);
      $("#addressDetail").html(dataInfo.company.addressDetail);
      $("#teacher").html(dataInfo.teacher);
      $("#price").html(dataInfo.price);
      var isTrue = localStorage.getItem("isTrue");
      if(isTrue=='true') {
      $("#phone").html(dataInfo.phone);
      }else {
       $("#phone").html('选中后可见');
      }
      $("#persion").html(dataInfo.persion);

      $("#details").html(dataInfo.details);

    }


  </script>


</body>

</html>